#ifndef STRINGTABLE_H
#define STRINGTABLE_H

class StringTable {
public:
	size_t add(const string &str);
	void   writeFile(FILE *fp);
	int    readFile(FILE *fp);
	string getIndex(int index) const { return _vstring[index]; }

	void   dump();

private:
	vector<string>  _vstring;
};

#endif
